{% extends 'admin/admin_base.html' %}

{% block content %}
    <div class="container">
        <div class="border border-primary rounded" style="max-width: 700px;margin: 0 auto;padding: 16px 40px">
            <h3>Users Update</h3>

            <hr>
            <form method="post" enctype="multipart/form-data">

                <div class="form-group">
                    <label for="username">Username</label>
                    <input type="text" class="form-control" id="username" name="username" value="{{ user.username }}"
                           required>
                </div>

                <div class="form-group">
                    <label for="password">Password</label>
                    <input type="text" class="form-control" id="password" name="password" value="{{ user.password }}"
                           required>
                </div>


                <div class="form-group">
                    <label for="age">Age</label>
                    <input type="text" class="form-control" id="age" name="age" value="{{ user.age }}" required>
                </div>


                <div>
                    <input class="btn btn-primary" style="width: 100%" type="submit" value="Submit">
                </div>
            </form>
        </div>
    </div>

{% endblock %}